package dao

import "go-demo/model"

// 添加新的视频到数据库
func CreateVideo(id int64, playUrl string, title string) {
	video := model.Video{UserId: id, PlayUrl: playUrl, Title: title}
	Db.Create(&video)
}
